﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BookManege.entity
{
    internal class Borrow
    {
        long id;
        long bookId;
        DateTime startDate;
        DateTime endDate;
        int isStill;
        long userId;

        public Borrow(long ig, long bookId, DateTime startDate, DateTime endDate, int isStill, long userId)
        {
            this.id = ig;
            this.bookId = bookId;
            this.startDate = startDate;
            this.endDate = endDate;
            this.isStill = isStill;
            this.userId = userId;
        }

        public long Id { get => id; set => id = value; }
        public long BookId { get => bookId; set => bookId = value; }
        public DateTime StartDate { get => startDate; set => startDate = value; }
        public DateTime EndDate { get => endDate; set => endDate = value; }
        public int IsStill { get => isStill; set => isStill = value; }
        public long UserId { get => userId; set => userId = value; }
    }
}
